#ifndef TCONVERTER_H
#define TCONVERTER_H

#include <QString>
#include <QDate>

class TConverter
{
public:
    TConverter();

    static QString dateToString(QDate value);
    static QDate stringToDate(QString value);

    static QString datetimeToString(QDateTime value);
    static QDateTime stringToDatetime(QString value);

    static QString timeToString(QTime value);
    static QTime stringToTime(QString value);

    static QString boolToString(bool value);
    static bool stringToBool(QString value);
};

#endif // TCONVERTER_H
